<?php
/**
 * Created by PhpStorm.
 * User: LG
 * Date: 2018/8/2
 * Time: 15:16
 */


/**
 * 数据库配置
 */
$database = new Medoo\Medoo([
    'database_type' => 'mysql',
    'database_name' => 'internetofthingsdb',
    'server' => 'localhost',
    'username' => 'root',
    'password' => '000000',
    'charset' => 'utf8'
]);

/**
 *  数据表模块ID
 */
$MODLEID_MEDIAMANAGER = 101; //媒体系统
$MODLEID_VISITORMANAGER = 102; //访客系统
$MODLEID_MONITORMANAGER = 103; //监控系统
$MODLEID_ELECTRONICMANAGER = 104; //电力系统  
$MODLEID_COMMUNICATIONMANAGER = 105; //通讯系统
$MODLEID_SENIOR = 106; //高级设置

/**
 *  数据表模块下开关ID
 */
$SWITCHID_MEDIA_SERVICE = 1001; //服务开关ID
$SWITCHID_MEDIA_UI = 1002; //界面开关ID
$SWITCHID_MEDIA_VIOCE = 1003; //声音开关ID
$SWITCHID_MEDIA_CANCAT = 1004; //通讯开关ID
$SWITCHID_MEDIA_ALL_FINALDEVICE = 1005; //所有终端设备开关ID
$SWITCHID_MEDIA_ALL_MEDIADEVICE = 1006; //所有媒体设备开关ID


?>

